package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 领取方式
 * @author panbo
 * @since 2024/8/1
 */
@Getter
@AllArgsConstructor
@Dict("领取方式")
public enum ReceiveTypeEnum implements DictEnum<String> {
    BACKEND("BACKEND", "后台发放","green"),
    FRONT("FRONT", "前台领取","blue"),
    ;
    @JsonValue
    @EnumValue
    private final String value;
    private final String label;
    private final String color;
}
